package com.gowants.pems.mapper;

import com.gowants.pems.model.EquipmentPart;
import com.gowants.pems.model.EquipmentPartRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EquipmentPartRecordMapper {

    /**
     * 查询配件出入库记录
     *
     * @return
     */
    public List<EquipmentPartRecord> select(@Param("record") EquipmentPartRecord record);

    /**
     * 插入配件出入库记录
     *
     * @param record
     * @return
     */
    public int insert(EquipmentPartRecord record);
}
